//
//  LSAIHistoricaModel.h
//  LookScore
//
//  Created by wr on 2018/5/12.
//  Copyright © 2018年 ChongQingXunTiCompany. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "JKDBModel.h"
@class LSAIHistoricaModel,LSSDHistoricaModel,LSOddsChangeRecordModel,companyDataList;

@interface LSExponentList : NSObject

@property (nonatomic, assign) NSInteger MatchId;

/**联赛颜色*/
@property (nonatomic, copy) NSString *LeagueColor;
/**联赛名称*/
@property (nonatomic, copy) NSString *LeagueName;

@property (nonatomic, assign) NSInteger LeagueId;

@property (nonatomic ,assign) long long TimeStamp;

/**比赛计划开赛时间*/
@property (nonatomic, copy) NSString *MatchDateTime;
/**比赛实际开赛时间*/
@property (nonatomic, copy) NSString *MatchRealDateTime;
/** 比赛状态：
 0 未开赛
 1 上半场
 3 下半场
 -1 结束*/
@property (nonatomic, assign) NSInteger MatchState;

@property (nonatomic, assign) NSInteger HomeTeamId;

/**主队名称 中文*/
@property (nonatomic, copy) NSString *HomeTeamName;

/**主队排名*/
@property (nonatomic, copy) NSString *HomeTeamOrder;

/**主队得分*/
@property (nonatomic, assign) NSInteger HomeTeamScore;
/**客队编号*/
@property (nonatomic, assign) NSInteger GuestTeamId;

/**客队排名*/
@property (nonatomic, copy) NSString *GuestTeamOrder;

/**客队名称*/
@property (nonatomic, copy) NSString *GuestTeamName;

/**客队得分*/
@property (nonatomic, assign) NSInteger GuestTeamScore;

@property (nonatomic, assign) BOOL isOpen;

@property (nonatomic,assign) CGFloat cellHeight;

/**(亚盘变化记录)*/
@property (nonatomic, strong) NSArray <LSAIHistoricaModel *>* AIHistoricaDataList;
/**(欧赔变化记录)*/
@property (nonatomic, strong) NSArray <LSOddsChangeRecordModel *>* OddsChangeRecordList;
/**(大小球变化记录)*/
@property (nonatomic, strong) NSArray <LSSDHistoricaModel *>* SDHistoricaDataList;
@property (nonatomic, assign) BOOL isSelected;
@end


@interface LSAIHistoricaModel : JKDBModel

/**变化时间*/
@property (nonatomic, copy) NSString *ChangeTime;

/**博彩公司id*/
@property (nonatomic, assign) NSInteger CompanyId;

/** 博彩公司名字*/
@property (nonatomic, copy) NSString *CompanyName;

/**博彩公司盘口*/
@property (nonatomic, copy) NSString *CompanyPanKou;

/**历史数据——客队*/
@property (nonatomic, copy) NSString *HD_KD;

/**历史数据-盘口*/
@property (nonatomic, copy) NSString *HD_PK;

/**历史数据_主队*/
@property (nonatomic, copy) NSString *HD_ZD;

///**历史数据_主队*/
//@property (nonatomic, copy) NSString *IsHalf;


/**比分*/
@property (nonatomic, copy) NSString *MacthScore;

/**比赛时间*/
@property (nonatomic, copy) NSString *MacthTime;

/**比赛id*/
@property (nonatomic, assign) NSInteger MatchId;

/** 状态：
 0  初
 1  即，早
 2  滚）*/
@property (nonatomic, assign) NSInteger State;

@property (nonatomic, strong) NSArray <companyDataList *>* companyDataList;

@end



@interface LSOddsChangeRecordModel : JKDBModel

/**变化时间*/
@property (nonatomic, copy) NSString *ChangeTime;

/**博彩公司id*/
@property (nonatomic, assign) NSInteger CompanyId;

/** 博彩公司名字*/
@property (nonatomic, copy) NSString *CompanyName;

/**赔率-胜*/
@property (nonatomic, copy) NSString *Odds_Win;
/**赔率-平*/
@property (nonatomic, copy) NSString *Odds_Flat;

/**赔率-负*/
@property (nonatomic, copy) NSString *Odds_Negative;

/**凯利-胜*/
@property (nonatomic, copy) NSString *Kelly_Win;

/**凯利-平*/
@property (nonatomic, copy) NSString *Kelly_Flat;

/**凯利-负*/
@property (nonatomic, copy) NSString *Kelly_Negative;

/**比赛id*/
@property (nonatomic, assign) NSInteger MatchId;

@property (nonatomic, strong) NSArray <companyDataList *>* companyDataList;
@end



@interface LSSDHistoricaModel : JKDBModel
/**变化时间*/
@property (nonatomic, copy) NSString *ChangeTime;

/**博彩公司id*/
@property (nonatomic, assign) NSInteger CompanyId;

/** 博彩公司名字*/
@property (nonatomic, copy) NSString *CompanyName;

/**博彩公司盘口*/
@property (nonatomic, copy) NSString *CompanyPanKou;

/**历史数据——大球*/
@property (nonatomic, copy) NSString *HD_DQ;

/**历史数据-盘口*/
@property (nonatomic, copy) NSString *HD_PK;

/**历史数据_小球*/
@property (nonatomic, copy) NSString *HD_XQ;


/**比分*/
@property (nonatomic, copy) NSString *MacthScore;

/**比赛时间*/
@property (nonatomic, copy) NSString *MacthTime;

/**比赛id*/
@property (nonatomic, assign) NSInteger MatchId;

/** 状态：
 0  初
 1  即，早
 2  滚）*/
@property (nonatomic, assign) NSInteger State;
@property (nonatomic, strong) NSArray <companyDataList *>* companyDataList;
@end


@interface companyDataList : JKDBModel
/**胜赔率颜色变化状态*/
@property (nonatomic, assign) NSInteger winColorState;
/**负赔率颜色变化状态*/
@property (nonatomic, assign) NSInteger flatColorState;
/**平赔率颜色变化状态*/
@property (nonatomic, assign) NSInteger negativeColorState;
/**变化时间*/
@property (nonatomic, copy) NSString *ChangeTime;

/**博彩公司id*/
@property (nonatomic, assign) NSInteger CompanyId;

/** 博彩公司名字*/
@property (nonatomic, copy) NSString *CompanyName;

/**博彩公司盘口*/
@property (nonatomic, copy) NSString *CompanyPanKou;

/**历史数据——大球*/
@property (nonatomic, copy) NSString *HD_DQ;

/**历史数据-盘口*/
@property (nonatomic, copy) NSString *HD_PK;

/**历史数据_小球*/
@property (nonatomic, copy) NSString *HD_XQ;


/**比分*/
@property (nonatomic, copy) NSString *MacthScore;

/**比赛时间*/
@property (nonatomic, copy) NSString *MacthTime;

/**比赛id*/
@property (nonatomic, assign) NSInteger MatchId;

/** 状态：
 0  初
 1  即，早
 2  滚）*/
@property (nonatomic, assign) NSInteger State;
/**赔率-胜*/
@property (nonatomic, assign) float Odds_Win;
/**赔率-平*/
@property (nonatomic, assign) float Odds_Flat;

/**赔率-负*/
@property (nonatomic, assign) float  Odds_Negative;

/**凯利-胜*/
@property (nonatomic, copy) NSString *Kelly_Win;

/**凯利-平*/
@property (nonatomic, copy) NSString *Kelly_Flat;

/**凯利-负*/
@property (nonatomic, copy) NSString *Kelly_Negative;
/**历史数据——客队*/
@property (nonatomic, copy) NSString *HD_KD;

///**历史数据-盘口*/
//@property (nonatomic, copy) NSString *HD_PK;

/**历史数据_主队*/
@property (nonatomic, copy) NSString *HD_ZD;

@end

